import { get, post } from "./request";



export function login(username: string, password: string) {
    return post('/auth/login', {
        username,
        password
    })
}

export function userInfoApi() {
    return get('/user/info')
}